
//reader
var projectManageReader = new Ext.data.JsonReader( {
	root : 'list',
	totalProperty : 'totalCount',
	id : 'id',
	successProperty : '@success'
}, [ {
	name : 'projectId',
	mapping : 'projectid'
}, {
	name : 'projectNumber',
	mapping : 'projectnumber'
}, {
	name : 'projectName',
	mapping : 'projectname'
}, {
	name : 'location',
	mapping : 'location'
}, {
	name : 'mainUndertakeUnit',
	mapping : 'mainundertakeunit'
}, {
	name : 'mainUndertakeUnitId',
	mapping : 'mainundertakeunitid'
}, {
	name : 'guaranteeUnit',
	mapping : 'guaranteeunit'
}, {
	name : 'guaranteeUnitId',
	mapping : 'guaranteeunitid'
}, {
	name : 'unitedUnitOne',
	mapping : 'unitedunitone'
}, {
	name : 'unitedUnitTwo',
	mapping : 'unitedunittwo'
}, {
	name : 'unitedUnitThree',
	mapping : 'unitedunitthree'
}, {
	name : 'unitedUnitFour',
	mapping : 'unitedunitfour'
}, {
	name : 'establishProjectYear',
	mapping : 'establishprojectyear'
}, {
	name : 'mainManagingDepartment',
	mapping : 'mainmanagingdepartment'
}, {
	name : 'followUpPerson',
	mapping : 'followupperson'
}, {
	name : 'projectPlanCatagory',
	mapping : 'projectplancatagory'
}, {
	name : 'field',
	mapping : 'field'
}, {
	name : 'subfield',
	mapping : 'subfield'
}, {
	name : 'issueFileNumber',
	mapping : 'issuefilenumber'
}, {
	name : 'contractBegin',
	mapping : 'contractbegin'
}, {
	name : 'contractEnd',
	mapping : 'contractend'
}, {
	name : 'winBidMoney',
	mapping : 'winbidmoney'
}, {
	name : 'projectDirector',
	mapping : 'projectdirector'
}, {
	name : 'projectDirectorId',
	mapping : 'projectdirectorid'
}, {
	name : 'officePhone',
	mapping : 'officephone'
}, {
	name : 'mobilePhone',
	mapping : 'mobilephone'
}, {
	name : 'directorEmail',
	mapping : 'directoremail'
}, {
	name : 'contactMan',
	mapping : 'contactman'
},{
	name : 'contactManId',
	mapping : 'contactmanid'
}, {
	name : 'phoneOne',
	mapping : 'phoneone'
}, {
	name : 'phoneTwo',
	mapping : 'phonetwo'
}, {
	name : 'contactManEmail',
	mapping : 'contactmanemail'
}, {
	name : 'checkDate',
	mapping : 'checkdate'
}, {
	name : 'projectSchedule',
	mapping : 'projectschedule'
}, {
	name : 'projectChange',
	mapping : 'projectchange'
}, {
	name : 'inventPatentApplication',
	mapping : 'inventpatentapplication'
}, {
	name : 'inventPatentAuthorization',
	mapping : 'inventpatentauthorization'
}, {
	name : 'useNewApplication',
	mapping : 'usenewapplication'
}, {
	name : 'useNewAuthorization',
	mapping : 'usenewauthorization'
}, {
	name : 'appearanceDesignApplication',
	mapping : 'appearancedesignapplication'
},  {
	name : 'appearanceDesignAuthorization',
	mapping : 'appearancedesignauthorization'
},  {
	name : 'foreignPatent',
	mapping : 'foreignpatent'
},  {
	name : 'newTechnology',
	mapping : 'newtechnology'
},  {
	name : 'newProduct',
	mapping : 'newproduct'
},  {
	name : 'newMaterial',
	mapping : 'newmaterial'
},  {
	name : 'newEquipment',
	mapping : 'newequipment'
},  {
	name : 'computerSoftware',
	mapping : 'computersoftware'
},  {
	name : 'paper',
	mapping : 'paper'
},  {
	name : 'technologyStandard',
	mapping : 'technologystandard'
},  {
	name : 'nationalAward',
	mapping : 'nationalaward'
},  {
	name : 'provincialAward',
	mapping : 'provincialaward'
},  {
	name : 'cityAward',
	mapping : 'cityaward'
},  {
	name : 'doctor',
	mapping : 'doctor'
},  {
	name : 'master',
	mapping : 'master'
},  {
	name : 'undergraduate',
	mapping : 'undergraduate'
},{
	name : 'fundsAvailable',
	mapping : 'fundsavailable'
},{
	name : 'fundsInvestment',
	mapping : 'fundsinvestment'
},{
	name : 'benefitAcquired',
	mapping : 'benefitacquired'
},{
	name : 'projectSummary',
	mapping : 'projectsummary'
},{
	name : 'spareField1',
	mapping : 'sparefield1'
},{
	name : 'spareField2',
	mapping : 'sparefield2'
},{
	name : 'spareField3',
	mapping : 'sparefield3'
}]);

/**
 * dataStore
 */
//major Store
//var dataManage_ds = new Ext.data.Store( {
//	autoLoad:true,
//	proxy : new Ext.data.HttpProxy( {
//		url : 'dataManage/dataManageAction!getAllProject'
//	}),
//	//
//	reader : projectManageReader,
//	pageSize : 20,
//});
